package com.jiawa.wiki.config;

public class Test implements Runnable{
    private String name;
    public Test(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        System.out.println(name);
    }

    public static void main(String[] args) {
        Test tr = new Test("zhang");
        Thread th1 = new Thread(tr);
        th1.start();
    }
}
